package VN.EDU.IMIC.DEVELOPER.NGUYENVANTHIEN.EXAM01.Bai2;

public class Controller {
	private EntityStudent m_objStudent;
	private Model m_objModel;
	
	public Controller(EntityStudent objStudent){
		m_objStudent = objStudent;
		
		m_objModel = new Model();
	}
	public String XepLoai(EntityStudent objStudent){
		return m_objModel.CheckMarks(objStudent);
	}
	public boolean KTDiemSV(EntityStudent objStudent1,EntityStudent objStudent2) {
		return m_objModel.CompareTo(objStudent1, objStudent2);
	}
}
